<?php
/**
 * 单据用户视图
 * @author tangbl
 *
 */
class BillUserViewModel extends ViewModel {
	
	public $viewFields = array(
				
			
     'Bill' => array(
     		
     		'*',
     		'_as'  => 'tbl',
     		'_type'=> 'left',
      ),
			
     'BillUser' => array(
     		
     		'adminid','flag',
     		'_as'     => 'user',
     		'_on'     => 'tbl.id=user.billid'
     	)

	);
	
}
?>